-
Notifications
You must be signed in to change notification settings - Fork 0
Remove producer and viewer clients from pipeline tests #5
base: develop
Are you sure you want to change the base?
Conversation
SRef<Image> image = images[INDEX_USE_CAMERA]; | ||
Transform3Df pose = poses[INDEX_USE_CAMERA]; | ||
// display image | ||
if (gImageViewer->display(image) != FrameworkReturnCode::_SUCCESS) break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG_ERROR ? If it's an error, this path should not lead to return 0.
std::vector<SRef<CloudPoint>> pointCloud; | ||
std::vector<Transform3Df> keyframePoses; | ||
if (gMappingPipeline->getDataForVisualization(pointCloud, keyframePoses) == FrameworkReturnCode::_SUCCESS) { | ||
if (g3DViewer->display(pointCloud, keyframePoses[keyframePoses.size() - 1], keyframePoses) != FrameworkReturnCode::_SUCCESS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG_ERROR() ?
@@ -17,6 +17,7 @@ | |||
#include <boost/log/core.hpp> | |||
#include <boost/thread/thread.hpp> | |||
#include <signal.h> | |||
#include <thread> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comes from my previous commit, check whether you can remove it.
@@ -17,6 +17,7 @@ | |||
#include <boost/log/core.hpp> | |||
#include <boost/thread/thread.hpp> | |||
#include <signal.h> | |||
#include <thread> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as before, maybe from my previous commit, see if you can get rid of it.
SRef<Image> image = images[INDEX_USE_CAMERA]; | ||
Transform3Df pose = poses[INDEX_USE_CAMERA]; | ||
// display image | ||
if (gImageViewer->display(image) != FrameworkReturnCode::_SUCCESS) break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG_ERROR()?
std::vector<SRef<CloudPoint>> pointCloud; | ||
std::vector<Transform3Df> keyframePoses; | ||
if (gMappingPipeline->getDataForVisualization(pointCloud, keyframePoses) == FrameworkReturnCode::_SUCCESS) { | ||
if (g3DViewer->display(pointCloud, keyframePoses[keyframePoses.size() - 1], keyframePoses) != FrameworkReturnCode::_SUCCESS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG_ERROR()?
…pressing escape. Fix .pro to install correct config files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… folder. Fix map visualization of pipeline tests
No description provided.